package com.dobbinsoft.iotechn.device;

import com.dobbinsoft.iotechn.data.logger.Logger;
import com.dobbinsoft.iotechn.data.logger.LoggerFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ConfigurableApplicationContext;

@SpringBootApplication
public class IotechnDeviceApplication {

    private static final Logger logger = LoggerFactory.getLogger(IotechnDeviceApplication.class);

    public static void main(String[] args) {
        // 1.初始化 集中式系统这，这里不会执行
        ConfigurableApplicationContext applicationContext = SpringApplication.run(IotechnDeviceApplication.class, args);
        logger.info("[设备系统加载成功]");
        // 2.连接Broker
    }

}
